package com.busi.wms.config;

import com.busi.wms.controller.MainQueryController;
import com.busi.wms.controller.ReportController;
import com.busi.wms.controller.WmsInstorageController;
import com.busi.wms.controller.WmsInstorageDetailController;
import com.busi.wms.controller.WmsLocationController;
import com.busi.wms.controller.WmsMaterialController;
import com.busi.wms.controller.WmsOutstorageController;
import com.busi.wms.controller.WmsOutstorageDetailController;
import com.busi.wms.controller.WmsStockController;
import com.busi.wms.controller.WmsTrayController;
import com.jfinal.config.Routes;


public class WmsRoutes extends Routes {

	@Override
	public void config() {
		add("/wms/Main", MainQueryController.class, "busi/wms/common");
		add("/wms/material", WmsMaterialController.class, "busi/wms/material");
		add("/wms/tray", WmsTrayController.class, "busi/wms/wmsTray");
		add("/wms/stock", WmsStockController.class, "busi/wms/wmsStock");
		add("/wms/location", WmsLocationController.class, "busi/wms/wmsLocation");
		add("/wms/report", ReportController.class, "busi/wms/report");
		//入库单管理
		add("/wms/instorage", WmsInstorageController.class, "busi/wms/wmsInstorage");
		//入库单物料明细
		add("/wms/inStorageDetail", WmsInstorageDetailController.class, "busi/wms/wmsInstorageDetail");
		//出库单管理
		add("/wms/outstorage", WmsOutstorageController.class, "busi/wms/wmsOutstorage");
		//出库物料明细
		add("/wms/outStorageDetail", WmsOutstorageDetailController.class, "busi/wms/wmsOutstorageDetail");
		
	}

}
